From 29a8787f568429ef07e9ce83bb6ff59bf95379ff Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 17 Jan 2013 08:55:21 +0000 Subject: [PATCH] Tweak gitignore for Debian pkg-kernel using git svn. [bwh: Tweak further for pure git] Gbp-Pq: Topic debian Gbp-Pq: Name gitignore.patch --- .gitignore | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 2030c7a4d2f..28216fde24c 100644 --- a/.gitignore +++ b/.gitignore @@ -66,11 +66,6 @@ modules.builtin # /*.spec -# -# Debian directory (make deb-pkg) -# -/debian/ - # # Snap directory (make snap-pkg) # @@ -81,16 +76,6 @@ modules.builtin # /tar-install/ -# -# We don't want to ignore the following even if they are dot-files -# -!.clang-format -!.cocciconfig -!.get_maintainer.ignore -!.gitattributes -!.gitignore -!.mailmap - # # Generated include files # @@ -145,3 +130,10 @@ x509.genkey # Clang's compilation database file /compile_commands.json + +# +# Debian packaging: ignore everything at the top level, since it isn't +# included in our repository +# +/* +!/debian/ -- 2.30.2